<html>
<head>
	<title>TimeOut</title>
	<script type="text/javascript">
		function crazy(){
			i=0;
			while(i<10){
				setTimeout(alert("haha"), 50*1000);
			}
		}
	</script>
</head>
<body onload="crazy();">
	<p>this page prompt every five seconds</p>
</body>
</html>